﻿using Microsoft.AspNetCore.Http.HttpResults;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace DemoUser.Core.User
{
    //[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
    [SugarTable("tb_user")]
    public class TbUser//:Attribute
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
    }
}
